package com.hopes.bizz.hazard.om.dto;

import com.hopes.bizz.hazard.om.entity.HazRtDataHisEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/11/21 20:06
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class HazRtDataHisDTO extends HazRtDataHisEntity {
    private static final long serialVersionUID = 444565700879433297L;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 报警因子
     */
    private List<Long> monitorFactorIds;
}
